* {
    margin: 0;
    padding: 0;
}

body, html {
    width: 100%;
    height: 100%;
}

ul, li, ol {
    list-style: none;
}

a, a:hover, a:link, a:active {
    text-decoration: none;
    color: #333;
}

input, button, textarea, select {
    outline: none;
}

button {
    cursor: pointer;
}

.content {
   width: 1190px;
   height: 100%;
   margin: 0 auto;
}

/* 顶部导航栏 */
.header {
    width: 100%;
    height: 35px;
    background-color: #f1f1f1;
    line-height: 35px;
    font-size: 13px;
}

.header > .content >.header_left {
    float: left;
}

.header > .content >.header_right {
    float: right;
}

.header > .content >.header_left > li,
.header > .content >.header_right >li {
    float: left;
    width: 80px;
    height: 35px;
    text-align: center;
    cursor: pointer;
}

.header > .content >.header_right > li:nth-child(2),
.header > .content >.header_right > li:nth-child(6),
.header > .content >.header_right > li:hover {
    color: red;
}

.header > .content >.header_right > li:nth-child(3):hover,
.header > .content >.header_right > li:nth-child(4):hover,
.header > .content >.header_right > li:nth-child(6):hover,
.header > .content >.header_right > li:nth-child(9):hover,
.header > .content >.header_left > li:hover {
    color: red;
    background-color: #fff;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    padding: 0 1px;
    box-sizing: border-box;
}

.header > .content >.header_left > li > .iconfont,
.header > .content >.header_right > li > .iconfont {
    font-size: 12px;
    vertical-align: middle;
    padding-left: 2px;
}

.header > .content >.header_left > li:nth-child(1) {
    padding-left: 3px;
    box-sizing: border-box;
}

.header > .content >.header_left > li:nth-child(1) > .iconfont {
    font-size: 18px;
    float: left;
}

.header > .content >.header_right > li:nth-child(6) > .iconfont {
    font-size: 12px;
    vertical-align: middle;
    padding-right: 2px;
}

/* 大聚惠/首页 */
.djh {
    width: 100%;
    height: 50px;
    background-color: black;
    color: #fff;
}

.djh > .content > .djh_left {
    float: left;
    height: 100%;
}

.djh > .content > .djh_left > p {
    float: left;
    cursor: pointer;
}

.djh > .content > .djh_left > p:nth-child(2) {
    background-color: #fff;
    border-radius: 10px;
    color: rgb(194, 3, 3);
    font-size: 20px;
    width: 58px;
    height: 28px;
    line-height: 28px;
    margin-top: 10px;
    font-weight: 900;
    text-align: center;
    border: 1px solid black;
}

.djh > .content > .djh_left > p:nth-child(3) {
    margin-top: 15px;
    margin-left: 30px;
}

.djh > .content > .djh_left > p:nth-child(3):hover {
    color: red;
}

.djh > .content > .djh_right {
    float: right;
    height: 100%;
    margin-right: 30px;
}

.djh > .content > .djh_right > p {
    float: left;
    margin-top: 15px;
    margin-right: 40px;
    color: #ccc;
    font-size: 14px;
}

.djh > .content > .djh_right > p > .iconfont {
    padding-right: 3px;
}

/* 列表商品 */
.list {
    width: 100%;
    height: 100%;
    background-color: #f1f1f1;
}

.list > .content > ul {
    width: 100%;
    height: 100%;
}

.list > .content > ul > li {
    float: left;
    width: 290px;
    height: 400px;
    margin-right: 7px;
    margin-top: 20px;
    background-color: #fff;
}

.list > .content > ul > li > img {
    width: 260px;
    height: 260px;
    margin: 15px;
    margin-bottom: 10px;
}

.list > .content > ul > li > p:nth-child(2) {
    padding: 5px;
    margin-left: 10px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.list > .content > ul > li > p:nth-child(3) {
    padding: 0 0 10px 5px;
    margin-left: 10px;
    font-size: 14px;
    color: rgb(223, 3, 3);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.list > .content > ul > li > div {
    width: 100%;
    height: 50px;
    background-color: rgb(223, 6, 6);
    color: #fff;
}

.list > .content > ul > li > div > p:nth-child(1) {
    width: 200px;
    float: left;
}

.list > .content > ul > li > div > p:nth-child(1) > span:nth-child(1) {
    font-size: 23px;
    font-weight: 900;
    display: block;
    float: left;
    padding: 3px 10px 0 3px;
}

.list > .content > ul > li > div > p:nth-child(1) > span:nth-child(2) {
    font-size: 12px;
    text-decoration: line-through;
    padding-top: 13px;
    display: block;
}

.list > .content > ul > li > div > p:nth-child(1) > span:nth-child(3) {
    font-size: 12px;
    width: 180px;
    height: 16px;
    padding-left: 5px;
    display: block;
    float: left;
}

.list > .content > ul > li > div > p:nth-child(2) {
    float: right;
    width: 90px;
    height: 50px;
    background-image: url(../images/立即抢购.png);
    background-repeat: no-repeat;
    line-height: 50px;
    color: red;
    font-weight: 700;
    text-align: center;
}

/* footer */
.footer {
    width: 100%;
    height: 225px;
    font-size: 13px;
    padding-top: 10px;
    background-color: #f1f1f1;
}

.footer > .content span {
    padding: 0 3px;
}

.footer > .content p {
    padding: 3px 0;
    text-align: center;
}

.footer > .content .ng-authentication {
    text-align: center;
}